Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENT-10647: Adjusted hub install scripts to allow more time for postgres server to change state #1302

Closed

Conversation

craigcomstock
Copy link
Contributor

No description provided.

@craigcomstock
Copy link
Contributor Author

Build Status

@craigcomstock
Copy link
Contributor Author

squashed the commits, will try a rhel-7 hub package build first, manually test, if that looks OK I will start a full jenkins run.

I think this is fixed now. Primary cause of failures was a typo:

-          wait_for_cfpostgres_down || failure=1
+          wait_for_cf_postgres_down || failure=1

@craigcomstock craigcomstock force-pushed the ENT-10647-2/master branch 2 times, most recently from 34b568c to 9481f3a Compare September 28, 2023 19:39
@craigcomstock
Copy link
Contributor Author

@cf-bottom jenkins please

@cf-bottom
Copy link

nickanderson
nickanderson previously approved these changes Sep 28, 2023
Copy link
Member

@nickanderson nickanderson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's ok, but unsure about compound commands in if

packaging/common/script-templates/script-common.sh Outdated Show resolved Hide resolved
…lets

One typo fix. This was causing failure in ALL upgrades. Ouch.

Changed wait time for server stop/start from 5 seconds to 60.

Added cf_console to pg_upgrade failure tailing so it is visible in console.

Changed condition to test for stopped/started to something that works with tighter restrictions.
Using a select as root was failing due to lack of an account in postgresql at the moment we
were checking: bare database without any further manipulation by setup scripts.

Ticket: ENT-10647
Changelog: title
@craigcomstock
Copy link
Contributor Author

prefer a PR which can build github workflows: #1303

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants